package org.jeecg.modules.travel.dto.likes;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.modules.travel.vo.BaseQuery;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class AppLikePageDto extends BaseQuery {

    /**主键*/
    @Schema(description = "主键")
    private String id;
    /**创建人*/
    @Schema(description = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
    /**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
    /**用户id*/
    @Excel(name = "用户id", width = 15)
    @Schema(description = "用户id")
    private String userId;
    /**点赞类型：0-景区，1-反馈*/
    @Excel(name = "点赞类型：0-景区，1-反馈", width = 15)
    @Schema(description = "点赞类型：0-景区，1-反馈")
    private String contentType;
    /**点赞类型对应id*/
    @Excel(name = "点赞类型对应id", width = 15)
    @Schema(description = "点赞类型对应id")
    private String contentId;
    /**点赞时间*/
    @Excel(name = "点赞时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "点赞时间")
    private Date likeTime;
    /** 经度 */
    @Schema(description = "经度")
    private BigDecimal lon;
    /** 纬度 */
    @Schema(description = "纬度")
    private BigDecimal lat;

}
